package com.situ.mall.service;

import java.util.List;

import com.situ.mall.entity.Result;
import com.situ.mall.entity.User;

public interface IUserService {
	public abstract List<User> selectAll();

	
//后台
//1.每页信息
	public abstract Result selectByPage(Integer page, Integer limit);

//2.删除 
	public abstract Result deleteById(Integer id);

//3.批量删除
	public abstract Result deleteAll(Integer[] ids);

//4.添加
	public abstract Result insert(User user);

//前台  
	// 1.验证登陆信息   账户密码是否正确
	public abstract User login(User formUser);

	
}
